#ifndef ADDGOODS_H
#define ADDGOODS_H

#include <QDialog>
#include <QMessageBox>
#include "database.h"

namespace Ui {
class Addgoods;
}

class Addgoods : public QDialog
{
    Q_OBJECT

public:
    int m_sid;
    Database myDatabase;
    explicit Addgoods(QWidget *parent = nullptr,int sid = 0);
    ~Addgoods();

private slots:
    void on_add_clicked();

private:
    Ui::Addgoods *ui;
};

#endif // ADDGOODS_H
